#ifndef CT_VOIP_LOSTPACKET_THREAD_H_
#define CT_VOIP_LOSTPACKET_THREAD_H_

#include "ctType.h"
#include "ctTime.h"
#include "ct_thread.h"
#include "ctSingleton.h"

class ctVOIPLostPacketThread : public ctThread, public Singleton<ctVOIPLostPacketThread>
{
public:
        ctVOIPLostPacketThread() : ctThread("ctVOIPLostPacketThread"), one_second_(1), two_second_(2), ten_second_(10), thirty_second_(30) { }
        ~ctVOIPLostPacketThread() { }
        void run();

private:
        Timer one_second_;
        Timer two_second_;
        Timer ten_second_;
        Timer thirty_second_;
        ctRTime current_time_;
};

#endif // CT_VOIP_LOSTPACKET_THREAD_H_
